<?php /* Smarty version 2.6.25, created on 2011-07-07 21:47:48
         compiled from admin/orders_list.htm */ ?>
<?php if ($this->_tpl_vars['full_page']): ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/pageheader.htm", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<script language="javascript" src="<?php echo $this->_tpl_vars['_DIRURL']; ?>
script/utils.js"></script>
<script language="javascript" src="<?php echo $this->_tpl_vars['_DIRURL']; ?>
script/listtable.js"></script>
<script language="javascript">
var baseurl = "<?php echo $this->_tpl_vars['_BASEURL']; ?>
";
</script>
<form action="<?php echo $this->_tpl_vars['_BASEURL']; ?>
orders/finish/" method="post"  name="formlist" id="formlist">
  <div id="listDiv">
  

  
<?php endif; ?>
<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>
<table width='96%' border='0' cellpadding='0' cellspacing='0' align="center" class="tbtitle">
<tr>
<td align='center' valign='top'><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr bgcolor="#FFFFFF"><td height="4"></td></tr>
</table>

<table width="100%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="	background:#E2F5BC;">



		


<tr align="center" bgcolor="#F8FBFB" height="22">
	<td width="25%" height="40" bgcolor="#E2F5BC"><strong>餐厅</strong></td>
	<td width="25%" bgcolor="#E2F5BC"><strong>菜品</strong></td>
	<td width="25%" bgcolor="#E2F5BC"><strong>总金额</strong></td>
	<td width="25%" bgcolor="#E2F5BC"><strong>备注</strong></td>
	</tr>


	
	
	<?php $_from = $this->_tpl_vars['info']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['p']):
?>
	
	<tr style="cursor:hand;" align='center' bgcolor="#FFFFFF"  onMouseMove="javascript:this.bgColor='#EFEFEF';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22" >
	<td width="25%" height="40" valign="middle"><a href="javascript:" onclick="ShowObj('order_list_<?php echo $this->_tpl_vars['k']; ?>
');"><img style="padding-right:3px;" border="0" src="<?php echo $this->_tpl_vars['_TEMPLATESDIR']; ?>
/images/class_sopen.gif" /></a><?php echo $this->_tpl_vars['p']['company']; ?>
</td>
	<td width="25%" height="40" valign="middle"><?php echo $this->_tpl_vars['p']['info']; ?>
</td>
	<td width="25%" height="40" valign="middle"><?php echo $this->_tpl_vars['p']['price']; ?>
</td>
	<td width="25%" height="40" valign="middle"><?php echo $this->_tpl_vars['p']['remark']; ?>
</td>
	</tr>
    
    
    
    
    	

    <tr style="cursor:hand; display:none;" align='center' bgcolor="#FFFFFF"  onMouseMove="javascript:this.bgColor='#EFEFEF';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22" id="order_list_<?php echo $this->_tpl_vars['k']; ?>
">
	  <td height="40" colspan="4" valign="middle"  style="display:;"><table width="95%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="	background:#E2F5BC; margin:10px 0;">



		


<tr align="center" bgcolor="#F8FBFB" height="22">
	<td width="30%" height="40" bgcolor="#E2F5BC"><strong>姓名</strong></td>
	<td width="30%" bgcolor="#E2F5BC"><strong>菜品</strong></td>
	<td width="30%" bgcolor="#E2F5BC"><strong>份额</strong></td>
	</tr>


	
	
	<?php $_from = $this->_tpl_vars['p']['child']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['c']):
?>
	<tr style="cursor:hand;" align='center' bgcolor="#FFFFFF"  onMouseMove="javascript:this.bgColor='#EFEFEF';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22" >
	<td width="30%" height="40" valign="middle"><?php echo $this->_tpl_vars['c']['user']; ?>
</td>
	<td width="30%" height="40" valign="middle"><?php echo $this->_tpl_vars['c']['food']; ?>
</td>
	<td width="30%" height="40" valign="middle"><?php echo $this->_tpl_vars['c']['num']; ?>
</td>
	</tr>
    <?php endforeach; endif; unset($_from); ?>
   




</table></td>
	  </tr>
    
    
    <?php endforeach; endif; unset($_from); ?>

<input type="hidden" name="ids" id="ids" value="{$columnids_s}" />

<input type="hidden" name="page" id="page" value="<?php echo $this->_tpl_vars['page']; ?>
" />


<tr align="right" bgcolor="#eaf8ce">
  <td height="15" colspan="4" align="center"><input type="submit" name="button" id="button" value="处理订单"/>
    <input type="hidden" name="ordersid" id="ordersid"  value="<?php echo $this->_tpl_vars['ordersid']; ?>
"/></td>
</tr>

<tr align="right" bgcolor="#eaf8ce">
  <td height="15" colspan="4" align="center"><?php echo $this->_tpl_vars['pagestr']; ?>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td></tr></table>
<?php if ($this->_tpl_vars['full_page']): ?>
</div>
</form>
<?php endif; ?>
